﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HW3
{
    public partial class progerss : Form
    {
        public progerss()
        {
            InitializeComponent();
        }


        public void UpdateProgress(int prog)
        {
            progressBar.Value = prog;
        }

        public void SetMaxValue(int value)
        {
            progressBar.Maximum = value;
        }

        public void UpdateLabel(string text)
        {
            label1.Text = text;
            this.Refresh();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }
    }
}
